from pddnsc.sources.http import GenericHttpSource


class IPSB(GenericHttpSource):
    """https://ip.sb/api"""

    def post_init(self):
        super().post_init()
        self.url_v4 = "https://api-ipv4.ip.sb/ip"
        self.url_v6 = "https://api-ipv6.ip.sb/ip"
